package cn.com.open.itembank.entity;

import cn.com.open.itembank.common.BaseModel;

/**
 * Created by lucky on 2017/7/17.
 */
public class Chapter {
    /**
     * 章节ID
     */
    private String chapterID;

    /**
     * 章节名称
     */
    private String chapterName;

    /**
     * 父章节ID
     */
    private String parentChapterID;

    /**
     * 章节类型：1，章;2，节;3，知识点
     */
    private Integer chapterType;

    /**
     * 说明
     */
    private String comment;

    /**
     * 课程ID
     */
    private String courseID;

    /**
     * 所属层次
     */
    private Integer orders;

    /**
     * 状态：0，是;1，否
     */
    private Integer status;

    /**
     * 创建人
     */
    private String creater;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 深度
     */
    private Integer depth;


    /**
     * Gets chapter id.
     *
     * @return the chapter id
     */
    public String getChapterID() {
        return chapterID;
    }

    /**
     * Sets chapter id.
     *
     * @param chapterID the chapter id
     */
    public void setChapterID(String chapterID) {
        this.chapterID = chapterID;
    }

    /**
     * Gets chapter name.
     *
     * @return the chapter name
     */
    public String getChapterName() {
        return chapterName;
    }

    /**
     * Sets chapter name.
     *
     * @param chapterName the chapter name
     */
    public void setChapterName(String chapterName) {
        this.chapterName = chapterName;
    }

    /**
     * Gets parent chapter id.
     *
     * @return the parent chapter id
     */
    public String getParentChapterID() {
        return parentChapterID;
    }

    /**
     * Sets parent chapter id.
     *
     * @param parentChapterID the parent chapter id
     */
    public void setParentChapterID(String parentChapterID) {
        this.parentChapterID = parentChapterID;
    }

    /**
     * Gets chapter type.
     *
     * @return the chapter type
     */
    public Integer getChapterType() {
        return chapterType;
    }

    /**
     * Sets chapter type.
     *
     * @param chapterType the chapter type
     */
    public void setChapterType(Integer chapterType) {
        this.chapterType = chapterType;
    }

    /**
     * Gets comment.
     *
     * @return the comment
     */
    public String getComment() {
        return comment;
    }

    /**
     * Sets comment.
     *
     * @param comment the comment
     */
    public void setComment(String comment) {
        this.comment = comment;
    }

    /**
     * Gets course id.
     *
     * @return the course id
     */
    public String getCourseID() {
        return courseID;
    }

    /**
     * Sets course id.
     *
     * @param courseID the course id
     */
    public void setCourseID(String courseID) {
        this.courseID = courseID;
    }

    /**
     * Gets orders.
     *
     * @return the orders
     */
    public Integer getOrders() {
        return orders;
    }

    /**
     * Sets orders.
     *
     * @param orders the orders
     */
    public void setOrders(Integer orders) {
        this.orders = orders;
    }

    /**
     * Gets status.
     *
     * @return the status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * Sets status.
     *
     * @param status the status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * Gets creater.
     *
     * @return the creater
     */
    public String getCreater() {
        return creater;
    }

    /**
     * Sets creater.
     *
     * @param creater the creater
     */
    public void setCreater(String creater) {
        this.creater = creater;
    }

    /**
     * Gets create time.
     *
     * @return the create time
     */
    public String getCreateTime() {
        return createTime;
    }

    /**
     * Sets create time.
     *
     * @param createTime the create time
     */
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    /**
     * Gets depth.
     *
     * @return the depth
     */
    public Integer getDepth() {
        return depth;
    }

    /**
     * Sets depth.
     *
     * @param depth the depth
     */
    public void setDepth(Integer depth) {
        this.depth = depth;
    }

    public Chapter(){
        this.depth=0;
        this.status=0;
    }
}
